package service;

import domain.VirtualFile;

import java.util.List;

public interface FileService {

    public boolean save(VirtualFile virtualFile);

    public List<VirtualFile> getByName_desc(String fname);

    public boolean getByMD5(String MD5);

    public List<VirtualFile> getAll();

    List<VirtualFile> getBySpeciality(String speciality);

    public VirtualFile getById(Integer id);

    void setNewOwner(int uid, int i);

}
